<!DOCTYPE html>
<html lang="en" class="app">

<head>
    {include file="public:head_file"/}

</head>

<body class="">
<section class="vbox">
    <div class="col-sm-6">
        <form data-validate="parsley" action="{:url('index/update')}" method="post" enctype="multipart/form-data">
            <section class="panel panel-default">
                <header class="panel-heading">
                    <span class="h4">添加</span>
                </header>
                <div class="panel-body">
                    <div class="form-group pull-in clearfix">
                        <div class="col-sm-4">
                            <label> 类型</label>
                            <select data-required="true" name="tid" class="form-control">
                                <option value="">Please choose</option>
                                {volist name='types' id='vo'}
                                <option value="{$vo.tid}">{$vo.tname}</option>
                                {/volist}
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label"> 海报</label>
                        <div class="col-sm-10">
                            <input type="file" name="file_img" class="filestyle" data-classButton="btn btn-default" data-classInput="form-control inline v-middle input-s">
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label"> 音乐文件</label>
                        <div class="col-sm-10">
                            <input type="file" name="file_mp3" class="filestyle" data-classButton="btn btn-default" data-classInput="form-control inline v-middle input-s">
                        </div>
                    </div>
                </div>
                <footer class="panel-footer text-right bg-light lter">
                    <button type="submit" class="btn btn-success btn-s-xs">Submit</button>
                </footer>
            </section>
        </form>
    </div>
</section>
</body>